package me.lijf.xapi.exception;

import lombok.Data;

@Data
public class XException extends RuntimeException{
    private Integer code;

    public XException(){
        super();
    }

    public XException(Integer code,String message){
        super(message);
        this.code=code;
    }
}
